package com.truyen.persistence.dao;

import java.util.List;

import com.truyen.persistence.dao.base.GenericJpaBaseDao;
import com.truyen.persistence.entity.Account;
import com.truyen.utils.PagingInfo;

public interface AccountDao extends GenericJpaBaseDao<Account, Long> {

	boolean checkExist(String email);

	List<Account> getUsers(String kw, PagingInfo pInfo);

	List<Account> getAllLst(String kwSearch, String sort, String sortBy,
			PagingInfo pInfo);
}
